enum enum_system_entity_manage {
	TYPE(SYSTEM_ENTITY)=0x6300
};
enum subtype_system_entity {
	SUBTYPE(SYSTEM_ENTITY,UNIT_SET)=0x1,
	SUBTYPE(SYSTEM_ENTITY,PACKAGE),
	SUBTYPE(SYSTEM_ENTITY,LAYER),
	SUBTYPE(SYSTEM_ENTITY,SYSTEM),
	SUBTYPE(SYSTEM_ENTITY,NODE),
	SUBTYPE(SYSTEM_ENTITY,PCR)
};
typedef struct system_entity_unitset{
	BYTE uuid[32];
	char name[32];
	char * path;
	UINT32 type;
	int num;
	char * units;
	char * describe;
}__attribute__((packed)) RECORD(SYSTEM_ENTITY,UNIT_SET);

typedef struct system_entity_package{
	BYTE uuid[32];
	char name[32];
	char * path;
	UINT32 type;
	int num;
	BYTE * sets;
	char * describe;
}__attribute__((packed)) RECORD(SYSTEM_ENTITY,PACKAGE);

typedef struct system_entity_layer{
	BYTE uuid[32];
	char name[32];
	int num;
	BYTE * packages;
	char * describe;
}__attribute__((packed)) RECORD(SYSTEM_ENTITY,LAYER);

typedef struct system_entity_system{
	BYTE uuid[32];
	char name[32];
	int num;
	BYTE * layers;
	char * describe;
}__attribute__((packed)) RECORD(SYSTEM_ENTITY,SYSTEM);

typedef struct system_entity_node{
	BYTE uuid[32];
	BYTE machine_uuid[32];
	BYTE system_uuid[32];
	char name[32];
	char * describe;
}__attribute__((packed)) RECORD(SYSTEM_ENTITY,NODE);

typedef struct system_entity_pcr{
	BYTE node_uuid[32];
	int pcr_index;
    int verify_result;
}__attribute__((packed)) RECORD(SYSTEM_ENTITY,PCR);


